package cn.edu.scau.cmi.huangxiaodong.mybatis.dao;

import java.util.List;
import cn.edu.scau.cmi.huangxiaodong.mybatis.entity.Teacher;

public interface TeacherMapper {
	
	Teacher getTeacher(Long id);
	
	List<Teacher> listTeachers();
	
	int saveTeacher(Teacher teacher);
	
	int deleteTeacher(Long id);
	
	int updateTeacher(Teacher teacher);

}
